package com.letoken.platform.repo.admin.res.system;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @version 1.0
 * @author： txx
 * @date： 2021-12-02 15:53
 * @description 用于
 */
@Data
public class QueryAdminMenuTreeRes {

    @ApiModelProperty(name = "adminMenuId", value = "菜单ID", example = "1")
    private Integer adminMenuId;

    @ApiModelProperty(name = "name", value = "前端名称", example = "1")
    private String name;

    @ApiModelProperty(name = "uri", value = "前端URI", example = "1")
    private String uri;

    @ApiModelProperty(name = "pid", value = "父级ID", example = "1")
    private Integer pid;

    @ApiModelProperty(name = "pName", value = "父级前端名称", example = "1")
    private String pName;

    @ApiModelProperty(name = "authFlag", value = "权限标识", example = "1")
    private String authFlag;

    @ApiModelProperty(name = "pName", value = "控件名称", example = "1")
    private String controlName;

    @ApiModelProperty(name = "iconName", value = "图标名称", example = "1")
    private String iconName;

    @ApiModelProperty(name = "type", value = "菜单类型：1菜单，2按钮，3特殊功能", example = "1")
    private Integer type;

    @ApiModelProperty(name = "examineStatus", value = "状态：0启用，-1禁用", example = "1")
    private Integer examineStatus;

    @ApiModelProperty(name = "level", value = "菜单级数", example = "1")
    private Integer level;

    @ApiModelProperty(name = "sort", value = "顺序，从小到大", example = "1")
    private Integer sort;

    @ApiModelProperty(name = "holdStatus", value = "是否持有权限：0未持有，1已持有", example = "1")
    private Integer holdStatus = 0;

    @ApiModelProperty(name = "child", value = "子菜单", example = "1")
    List<QueryAdminMenuTreeRes> childList ;
}
